﻿using MediatR;
using S.PurchaseAndSales.Domain.Dto;
using S.PurchaseAndSales.Read.Api.Dto;

namespace S.PurchaseAndSales.Read.Api.Application.Command.PurchaseFormCommand
{
    /// <summary>
    /// 供应商查询分页显示
    /// </summary>
    public class VendorGetPagerCommand:IRequest<Pager<GetVendorPageDto>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public long? VenDorCode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? VenDorName { get; set; }
        /// <summary>
        /// 负责人电话
        /// </summary>
        public string? ResponsiblePhone { get; set; }
        /// <summary>
        /// 所属市场
        /// </summary>
        public string? Markets { get; set; }
        /// <summary>
        /// 服务人员/业务员
        /// </summary>
        public string? Salesman { get; set; }
        /// <summary>
        /// 使用状态
        /// </summary>
        public bool? UseState { get; set; }

    }
}
